source = """
# 32
macro(fast_draw_space)
# 65
macro(fast_draw_A)
macro(fast_draw_B)
macro(fast_draw_C)
macro(fast_draw_D)
macro(fast_draw_E)
macro(fast_draw_F)
macro(fast_draw_G)
macro(fast_draw_H)
macro(fast_draw_I)
macro(fast_draw_J)
macro(fast_draw_K)
macro(fast_draw_L)
macro(fast_draw_M)
macro(fast_draw_N)
macro(fast_draw_O)
macro(fast_draw_P)
macro(fast_draw_Q)
macro(fast_draw_R)
macro(fast_draw_S)
macro(fast_draw_T)
macro(fast_draw_U)
macro(fast_draw_V)
macro(fast_draw_W)
macro(fast_draw_X)
macro(fast_draw_Y)
macro(fast_draw_Z)

# 48
macro(fast_draw_0)
macro(fast_draw_1)
macro(fast_draw_2)
macro(fast_draw_3)
macro(fast_draw_4)
macro(fast_draw_5)
macro(fast_draw_6)
macro(fast_draw_7)
macro(fast_draw_8)
macro(fast_draw_9)

#46
macro(fast_draw_symbol_point)
# 44
macro(fast_draw_symbol_comma)
# 58
macro(fast_draw_symbol_colon)
# 63
macro(fast_draw_symbol_question)
"""
source = source.strip().split('\n')
num = 0
result = []
for line in source:
    line = line.strip()
    if not line:
        continue
    if line.startswith('#'):
        num = int(line[1:].strip())
        continue

    print(f"fast_draw_func_{num}:")
    print(f"\t{line}")
    print(f"\tret()")
    result.append((num,f"_fast_draw_func_check_{num}:\n\tjump fast_draw_func_{num} if arg0 == {num}"))
    num += 1

# result.sort(key = lambda x:x[0])
# print('\n'.join([i[1] for i in result]))
#
# for i in range(10,0,-1):
#     print(f'jump _fast_draw_func_check_{i}0 if arg0 >= {i}0')

# for i in "HELLO WORLD?":
#     print(f'target[off] = {ord(i)}\nadd(off,1)\ntarget[off] = 100100100\nadd(off,1)')